﻿using System;

namespace SilverMap
{
	/// <summary>
	/// Represents an exception related to the SilverMap library.
	/// </summary>
	public class SilverMapException : Exception
	{
		/// <summary>
		/// Initializes a new instance of the SilverMapException.
		/// </summary>
		/// <param name="message">The message explaining the exception.</param>
		public SilverMapException(string message)
			: base(message)
		{
		}

		/// <summary>
		/// Initializes a new instance of the SilverMapException.
		/// </summary>
		/// <param name="message">The message explaining the exception.</param>
		/// <param name="innerException">An inner exception to propogate.</param>
		public SilverMapException(string message, Exception innerException)
			: base(message, innerException)
		{
		}
	}
}
